/*
 * @Description:
 * @Version: 2.0
 * @Autor: wangmiao
 * @Date: 2022-07-09 09:34:46
 * @LastEditors: wangmiao
 * @LastEditTime: 2022-07-09 09:58:07
 */
import React from 'react'
import RouterView from './RouterView'
import routes, { routeProps } from './config'

const routerList = [...routes]

const ViewRouter: React.FC = () => {
  return (
    <div>
      <RouterView route={routerList} />
    </div>
  )
}

export default ViewRouter
